const {
	testApi,
	sendVeriCodeToMail
} = require('send-mail-smtp')

module.exports = async function(params = {}) {
	//生成验证码 __WJF
	// emailCode = (Math.floor(Math.random() * 899999) + 100000) + ''
	// let res = await require('../../lib/utils/verify-code').setEmailVerifyCode.call(this, {
	// 	email,
	// 	code: emailCode,
	// 	expiresIn: 300, //5分钟
	// 	scene
	// })
	return await sendVeriCodeToMail({
		code: '555666',
		to:'wjf5866@163.com'
	})
}